package com.vhall.component.controller.data.facade;

import com.vhall.component.entity.data.vo.*;
import com.vhall.component.entity.page.vo.PageVO;
import com.vhall.component.entity.tag.vo.AdvertisingListRspVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * 聚合页
 *
 * @author shimingming
 * @since 2023/5/29 15:08
 */
@FeignClient(value = "DataAdminFacade", path = "/v4/datacenter/aggregation_page")
public interface AggregationPageFacade {


    /**
     * 获取 banner 图
     */
    @PostMapping(value = "/get_banner_list")
    List<AdvertisingListRspVO> getBannerList();

    /**
     * 直播日程表
     */
    @PostMapping(value = "/live_schedule")
    List<LiveScheduleDetailRspVO> liveSchedule(@Validated LiveScheduleReqVO reqVO);

    /**
     * 获取栏目
     *
     */
    @PostMapping(value = "/get_column_list")
    List<ColumnListRspVO> getColumnList(@Validated ColumnListReqVO reqVO);


    /**
     * 视频列表
     */
    @PostMapping(value = "/selected_video_list")
    PageVO<SelectedVideoRspVO> selectedVideoList(@Validated SelectedVideoReqVO reqVO);

    /**
     * 搜索视频列表
     */
    @PostMapping(value = "/search_video_list")
    List<SelectedVideoRspVO> searchVideoList(@Validated SearchVideoReqVO reqVO);


}
